package com.amos.bean;

/**
 * Copyright © 2018 嘉源锐信. All rights reserved.
 *
 * @Project: mu-exam
 * @ClassName: IResult
 * @Package: com.amos.bean
 * @author: zhuqb
 * @Description: 异常返回的接口
 * @date: 2020/3/24 0024 下午 15:34
 * @Version: V1.0
 */
public interface IResult {

    /**
     * 异常的编码
     *
     * @return
     */
    Integer getCode();

    /**
     * 异常的信息
     *
     * @return
     */
    String getMsg();
}
